/*
 * @Description:
 * @Author: 稽辉
 * @Date: 2025-02-16 08:53:57
 * @LastEditTime: 2025-02-16 09:11:57
 * @LastEditors: 稽辉
 */
import { http } from '@/utils/http'

//封装支付
export const getPayWxMiniPayAPI = (data: { orderId: string }) => {
  return http<WechatMiniprogram.RequestPaymentOption>({
    method: 'GET',
    url: '/pay/wxPay/miniPay',
    data,
  })
}
//模拟支付
export const getPayMockAPI = (data: { orderId: string }) => {
  return http({
    url: '/pay/mock',
    method: 'GET',
    data,
  })
}
